Skip to content

feat(service-ai): extract AI metadata authoring into cloud-only AI Studio#1571

Merged
os-zhuang merged 1 commit into
mainfrom
feat/extract-ai-studio
Jun 3, 2026
Merged

feat(service-ai): extract AI metadata authoring into cloud-only AI Studio#1571
os-zhuang merged 1 commit into
mainfrom
feat/extract-ai-studio

Conversation

@xuyushun441-sys
Copy link
Copy Markdown
Contributor

Extracts the AI-driven metadata-authoring layer out of the open-source @objectstack/service-ai so the authoring intelligence ships only in the cloud / as an installable enterprise plugin, while the generic AI runtime and the metadata write mechanism stay open. Pairs with cloud @objectstack/service-ai-studio (cloud ADR-0002).

Changes

  • Remove the metadata_assistant agent, metadata/blueprint/package authoring tools, and metadata_authoring/solution_design skills (+ their tests) from service-ai; clean barrels and the inline plugin registration. The ai:ready hook is retained so the cloud package attaches.
  • capability-loader: add install-aware aiStudio capability (@objectstack/service-ai-studioAIStudioPlugin; dynamic import, silently skipped when absent).
  • cli serve: auto-register AIStudioPlugin when the package is installed.
  • ArtifactKernelFactory / createObjectOSStack: add defaultRequires to force-mount capabilities (e.g. ['ai','aiStudio']) on every per-environment kernel.
  • RuntimeConfigPlugin: add features.aiStudio (default true; override-to-hide).

Verification

  • service-ai builds + 320 tests pass; no external consumer imports the removed exports.
  • runtime + cli build clean.

Coordination

⚠️ Touches solution_design code also under active work in feat/solution-design-process-guardrail — coordinate merge order.

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 3, 2026 3:05pm

Request Review

…udio

Move the AI-driven metadata-authoring layer out of the open-source
@objectstack/service-ai (the metadata_assistant agent, metadata/blueprint/
package authoring tools, and metadata_authoring/solution_design skills). The
generic AI runtime and the metadata WRITE mechanism stay open.

- Delete the authoring agent/skills/tools + their tests from service-ai;
  clean the barrels and the inline plugin registration. The `ai:ready` hook
  is retained so the cloud package can attach.
- capability-loader: add install-aware `aiStudio` capability
  (@objectstack/service-ai-studio → AIStudioPlugin; dynamic import, silently
  skipped when absent).
- cli serve: auto-register AIStudioPlugin when the package is installed.
- ArtifactKernelFactory / createObjectOSStack: add `defaultRequires` so a
  host can force-mount capabilities (e.g. ['ai','aiStudio']) on every
  per-environment kernel regardless of the app artifact's requires.
- RuntimeConfigPlugin: add `features.aiStudio` (default true; override-to-hide).

Authoring intelligence now ships only in the private cloud package and as an
installable enterprise plugin. See cloud ADR-0002.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@xuyushun441-sys xuyushun441-sys force-pushed the feat/extract-ai-studio branch from a70e787 to ab930be Compare June 3, 2026 15:02
@os-zhuang os-zhuang merged commit 05dacf2 into main Jun 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants